<?php

?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head> 
	<meta charset="UTF-8">
	<title><?=$this->lang->line('site_title');?></title>
	<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
	<meta http-equiv="cache-control" content="max-age=0" />
	<meta http-equiv="cache-control" content="no-cache" />
	<meta http-equiv="expires" content="0" />
	<meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT" />
	<meta http-equiv="pragma" content="no-cache" />

	<link rel="stylesheet" href="<?=base_url()?>assets/css/jquery-ui-1.10.2.custom.min.css" />
	<link rel="stylesheet" href="<?=base_url()?>assets/css/style.css" type="text/css"/> 
	<link rel="stylesheet" href="<?=base_url()?>assets/css/text-buble.css" type="text/css"/> 
	<link rel="stylesheet" href="<?=base_url()?>assets/css/icons.css"  type="text/css"/> 

	<!--[if IE]><script type="text/javascript" src="js/excanvas.js"></script><![endif]-->
	<!-- Le fav and touch icons -->
    <link rel="apple-touch-icon-precomposed" sizes="144x144" 	href="assets/ico/apple-touch-icon-144-precomposed.png">
    <link rel="apple-touch-icon-precomposed" sizes="114x114" 	href="assets/ico/apple-touch-icon-114-precomposed.png">
    <link rel="apple-touch-icon-precomposed" sizes="72x72" 		href="assets/ico/apple-touch-icon-72-precomposed.png">
    <link rel="apple-touch-icon-precomposed" 					href="assets/ico/apple-touch-icon-57-precomposed.png">
    <link rel="shortcut icon" 									href="assets/ico/favicon.png"> 

	<script src="<?=base_url()?>assets/js/libs/json2.min.js"></script>
	<script src="<?=base_url()?>assets/js/libs/l10n.min.js"></script>
	<script src="<?=base_url()?>assets/js/libs/localizations.js"></script> 
	<script type="text/javascript">
		function toggle_visibility(id) {
		   var e = document.getElementById(id);
		   var a = document.getElementById('maximize');
		   if(e.style.display == 'block'){
			  e.style.display = 'none';
			  a.style.display = 'block';

			  }
		   else{
			  e.style.display = 'block';
			  a.style.display = 'none';
			  }
		}

		function max_visibility(id) {
		   var e = document.getElementById(id);
		   var a = document.getElementById('maximize');
		   if(a.style.display == 'block'){
			  a.style.display = 'none';
			  e.style.display = 'block';
			  }
		   else{
			  a.style.display = 'block';
			  e.style.display = 'none';
			  }
		}

		function onnload(){ 
			if (/MSIE (\d+\.\d+);/.test(navigator.userAgent)){ // MSIE x.x; 
				var ieversion=new Number(RegExp.$1);
				if(ieversion<9){
					alert("<?=$this->lang->line('compatible_ie');?>"); 
					window.location.href = baseurl + "auth/logout"; 
				}
			}
		}
		 window.onload = onnload;	
	</script>
	<link type="text/css" rel="stylesheet" href="/sites/bcidaho.ddev.mcmurryis.com/themes/fusion/fusion_starter/css/print.css" >
	<base target="_self">
	<style type="text/css">
		.page {		
			page-break-after: always; 
		}
		@page {
			page-break-after: always; 
		}
		@media print {
			.page {
				margin: 0;
				border: initial;
				border-radius: initial;	
				width: initial;	
				min-height: initial;		
				box-shadow: initial;		
				background: initial;		
				page-break-after: always; 
			}
			.noprint{display:none};
		}
	</style>
	
</head>

<body lang="ja" style="overflow:scroll;">

<section class="contents" style="height:100%;">

	<div id="overlay-event" class="noprint"></div>
	<div id="overlay" class="noprint" style="display:block">
		<img id="img-loading" src="<?=base_url()?>assets/css/images/ajax_loader.gif" alt="Loading" />
	</div>
	<div id="maximize" class="noprint"><a href="#" onclick="max_visibility('header');" class="noprint"><div class="button_maximize" class="noprint"></div></a></div>

	<div id="header" style="display:block" class="noprint">
		<div class="cloud noprint"></div>

		<div class="menuboxPrint noprint" style="text-align: center; margin-top:15px;display:block;"></div>
		<a href="#" onclick="toggle_visibility('header');" class="noprint"><div class="button_minimize noprint"></div></a>
		<div class="toolboxPrint noprint" style="text-align: center;">
			<input type="button" id="select-print-button" class="noprint" value="<?=$this->lang->line('select_all');?>" size="10px" style="width:100px; margin-right:20px; margin-top:10px;"/>
			<input type="button" id="des-print-button" class="noprint" value="<?=$this->lang->line('deselect_all');?>" size="10" style="width:100px; margin-right:20px; margin-top:10px;"/>
			<input type="button" id="print-button" class="noprint" value="<?=$this->lang->line('print');?>" size="10px" style="width:100px; margin-right:20px; margin-top:10px;" rel="DocViewHide"/>
			<input type="button" id="cancel-button" class="noprint" value="<?=$this->lang->line('cancel_print');?>" size="10" style="width:100px; margin-right:20px; margin-top:10px;"/>
		</div>

		<div class="accountbox noprint"><span class="noprint"><?php echo $user->username ?></span><br/><a href=""></a></div>
	</div>
	<table id="pageList" class="content noprint" width="100%">
	</table>
	<!--<div class="DocView" width="100%" style="position: relative; background-color: White; width:100%;display:block;">-->
	<div class="DocView" style="position: relative; background-color: White;">
	</div>
	<div id="rootPrintContainer" class="noprint">
	</div>
	<div class="DocViewHide noprint" width="100%" style="position: relative; background-color: white; width:100%; display:none;"> 
	</div>
</section>

<input id="base_url" 	type="hidden" value="<?=base_url();?>"/>
<input id="file_id" 	type="hidden" value="<?=$file_id;?>"/>
<input id="file_name" 	type="hidden" value="<?=$file_name;?>"/>
<input id="page_id" 	type="hidden" value="<?=$page_id;?>"/>
<input id="u_name" 		type="hidden" value="<?=$user->username;?>"/>
<input id="u_id" 		type="hidden" value="<?=$user->id;?>"/>
<script type="text/javascript" src="<?=base_url()?>assets/js/libs/require.js" data-main="<?=base_url()?>assets/js/main-draw-print"></script>
</body>
</html>
